package com.hmbe.utils;

import javax.servlet.http.HttpServletRequest;

public class GetUserUtils {

    public static Long getUserId(HttpServletRequest request) {
        String token = request.getHeader("Authorization");
        String[] split = token.split("id");
        return Long.valueOf(split[1]);
    }
}
